package cn.kgc.music.service.impl;

import cn.kgc.music.dao.SongMapper;
import cn.kgc.music.pojo.Song;
import cn.kgc.music.service.SongService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("songService")
public class SongServiceImpl implements SongService {
    @Resource
    private SongMapper songMapper;

    @Override
    public List<Song> querySong() {
        return songMapper.selectSong();
    }
}
